package com.fz.song.bigdatecreate.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 开发者
 * </p>
 *
 * @author Song Fa Zhun
 * @since 2019-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("user_id")
    private String userId;
    @TableField("user_name")
    private String userName;
    @TableField("avatar")
    private String avatar;
    @TableField("email")
    private String email;
    @TableField("mobile")
    private String mobile;
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
    @TableField("status")
    private Integer status;
    @TableField("type")
    private Integer type;
    @TableField("audit_status")
    private Integer auditStatus;
    @TableField("remark")
    private String remark;
    @TableField("auditer")
    private Integer auditer;
    @TableField("audit_time")
    private LocalDateTime auditTime;


}
